package com.suxin.rpc.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author Tang
 * @classname DiagnosisQueryDto
 * @description [  ]
 * @date 2021/9/13 11:33
 */
@Data
public class DiagnosisRpcQueryDto {

    @NotNull(message = "vin 不能为null!")
    private String vin;

    @NotNull(message = "dateBegin 不能为null!")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String dateBegin;

    @NotNull(message = "dateEnd 不能为null!")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String dateEnd;

}